<?php
include "connect.php";

$student_id=$_POST['student_id'];
$name=$_POST['name'];
$f_name=$_POST['f_name'];
$dob=$_POST['dob'];
$religion=$_POST['religion'];
$telephone=$_POST['telephone'];
$address=$_POST['address'];
$e_mail=$_POST['e_mail'];
$previous_school=$_POST['previous_school'];
$short_course_id=$_POST['short_course_id'];
$date=$_POST['date'];
$pic=$_POST['pic'];
$campus_id=$_POST['campus_id'];
$subject_1=$_POST['subject_1'];
$subject_2=$_POST['subject_2'];
$subject_3=$_POST['subject_3'];
$subject_4=$_POST['subject_4'];


$dbquery="INSERT INTO student_info_sht (student_id,name,f_name,dob,religion,telephone,address,e_mail,previous_school,short_course_id,date,pic,campus_id,subject_1,subject_2,subject_3,subject_4) 
VALUES ('$student_id','$name','$f_name','$dob','$religion','$telephone','$address','$e_mail','$previous_school','$short_course_id','$date','$pic','$campus_id','$subject_1','$subject_2','$subject_3','$subject_4')";

mysql_query($dbquery);
	
header("location:short_course_info_success.php");
?>